<?php

/**
 * 小程序渠道端
 */

//渠道商
$router->get('user/token', 'WxAuthController@wxtoken');  //微信授权登录
$router->post('user/info/save', 'UserController@setInfo'); //修改信息
$router->post('user/infobytoken', 'UserController@infobytoken'); //获取信息
$router->post('user/phone/modify', 'UserController@modifyPhone'); //修改手机号
//图片上传
$router->post('image/upload', 'UserController@uploadImg');
//产品
$router->post('goods/cate/list', 'GoodsController@cateList'); //分类列表
$router->post('goods/list', 'GoodsController@getList'); //分类列表
//素材
$router->post('material/index', 'SucaiController@getIndex');
$router->post('material/one', 'SucaiController@getOne');
//团队
$router->post('user/team', 'UserController@getIndex');